home *** CD-ROM | disk | FTP | other *** search
- Path: news.cc.uic.edu!sunphy1!olczyk
- From: olczyk@sunphy1 (Thadeus Olczyk)
- Newsgroups: comp.lang.c++,comp.lang.pascal.delphi.misc
- Subject: Re: C++ with Zapp vs. Delphi
- Followup-To: comp.lang.c++,comp.lang.pascal.delphi.misc
- Date: 15 Jan 1996 01:54:21 GMT
- Organization: University of Illinois at Chicago
- Message-ID: <4dcc4d$6anc@tigger.cc.uic.edu>
- References: <4coar6$d4n@sun4.bham.ac.uk> <4coip7$69s@news1.usa.pipeline.com> <fRA+w0JfFG5X089yn@oslonett.no>
- NNTP-Posting-Host: sunphy1.phy.uic.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- Rune Moberg (mobergru@oslonett.no) wrote:
- : Yes, comparing VC++ to Delphi is indeed possible. I'm not sure of VC++'s
- : code optimizations, but generally Delphi would loose out to a C++ compiler,
- : because C++ compilers tend to make more use of registers and optimizes
- : loops better. This will change in Delphi 2.0, where Delphi shares compiler
- : backend with BC++ 5.0.
-
- As long as Delphi supports the toxic combination static typing and
- single inheritance , people will not be able to use polymorphism
- to replace case statements which will always make Delphi slower in any
- large application.
-
- : Now, let's compare RAD, ease of maintenance and readable code. Categories
- : where Delphi has a head start...
-
- Let's. RAD has recently come into disfavor in publications like JOOP, Object,
- and even Byte. Last summer InfoWorld reported a growing disillusionment
- of MIS departments with RAD tools. It seems that when RAD is introduced
- the parts of a project that got finished before RAD was introduced got finished
- faster, but that projects as a whole showed the same cost and failure rate
- before and after.
-
- I would like to see how you justify a claim of ease of mainenance when Delphi
- does not support MI. Implication-- under some circumstances one cannot abstract
- out common behavior and therefor must cut and paste code-- ie-- they must copy bugs. Everyone I know agrees that that causes a maintenace nightmare.
-
- As for ease of reading, I would like to know how having to go through the same
- file to see the class declaration and the code makes anything any more
- readable. I should also say that I have never met a C/C++ programmer who had
- trouble reading well-written C/C++. Poorly written C/C++ is another matter,
- but then I've seen such code written in Fortran, C, Basic, Pascal, Forth, Lisp.
- I've never seen much difference, except to say that in the case of RAD tools
- you get a lot of people who only think they are programmers writing a lot of
- crappy code.
-
- : >Maybe C vs. Pascal , but C++ is OO and Object Pascal is a fraud perpetuated by
- : >Borland on the world.
-
- : Seems strange, coming from someone who just wanted to compare VC"++" with
- : Delphi...? VC++ 2.0 (and MFC) has been rejected by some C++ diehards, because
- : it wasn't OO... (I assume they fixed this in 4.0?)
- Duh. Can you read? The
- original post said that you can't compare Delphi to MSVC++ or Object Pascal
- to C++, that you have to compare C++ to Delphi. I claimed otherwise. Comparing
- Delphi to VC++ ( or Borland C++ or Symantec C++) is entirely consistent with
- my position.
-
-
- : >: Specifically?
- : >
- : >Object Pascal is a statically typed language which does not support
- : >multiple inheritance and generics.
-
- : MI isn't required for an object oriented language. All it does is to
- : confuse the issue. If you inherit two objects, whose inherited method
- : are you calling?
- No MI isn't required for OO. Smalltalk does well without it, but then
- again Smalltalk is dynamically typed. For a statically typed language
- MI is almost essential. You do know that Delphi is a statically typed
- language? Didn't you read the part of my post where I noted this? You
- can read can't you?
-
- If MI is not so great why does Borland simulate it in the VCL? Did you notice
- that I pointed this out? You can read can't you?
-
- : I'd go so far to claim that Object Pascal is more OO than C++. Hey, Delphi
- : has even got properties, far more useful than any missing C++ feature!
-
- I notice that you didn't answer a charge I made about Delphi.
- Since when is language where the following happens:
-
- a method that is declared as generally accessible is not accessible
- under many circustances without violating a fundamental rule of
- OO or do severe workaround,
-
- considered an OO language.
-
- You did read the part where I mentioned this? You can read can't you?
-
- Add to the other weaknesses of Delphi the fact that you can instantiate
- abstract classes. How good is a language which allows you to make a
- contract and then break it.
-
- As for properties I would like to see a justification for why properties
- are so great. They are not a bad thing, but I don't see where they are
- so great as to be considered a critical feature of a language.
- I would like to see some argement for why properties are considered a better
- feature then a set of conainer classes.
- -------------------------------
- Thaddeus L. Olczyk
-
-
-
-